package dao;

import java.util.ArrayList;

import metier.Offre;


public interface DAOOffre {

	Offre				get(int id)		throws Exception;
	ArrayList<Offre>	loadAll()			throws Exception;
	void				save(Offre offre)	throws Exception;
	void				saveOrupdate(Offre offre)	throws Exception;
	void				delete(Offre offre)	throws Exception;
	void				update(Offre offre)	throws Exception;
	ArrayList<Offre>    search(String titre) throws Exception;
	ArrayList<Offre>    searchCategorie(int id_categorie) throws Exception;
	ArrayList<Offre>    searchRegion(int id_region) throws Exception;
	Offre				detailsOffre(int id_offre) throws Exception;

	
	
}
